function MyPromise(executor) {
  this.status = 'pending'
  // console.log(this)
  const resolve = () => {
    // console.log(this)

  }
  executor(resolve)
}
MyPromise.prototype.then = function () {

}